<form id="frmModal" name="frmModal" action="<?php echo site_url(array('psdm','jabatan','ajax','update')) ?>" method="post">
<h3 class="dialog_title"><span>Edit Departemen</span></h3>
<div class="dialog_content">
<div style="border-bottom: 1px solid #CCC; padding: 10px 0" >
<table width="100%" border="0" cellpadding="5" cellspacing="0">
	<tr>
		<td align="right" width="35%">Kode Jabatan:</td>
		<td>
			<input type="text" maxlength="5" value="<?php echo $jbt_id?>" disabled="disabled" >
			<input type="hidden" name="inp[0]" maxlength="2" value="<?php echo $jbt_id?>" />
		</td>
	</tr>
	<tr>
		<td align="right">Nama:</td>
		<td><input type="text" name="inp[1]" maxlength="20" class="validate['required']" value="<?php echo $jbt_nama?>"></td>
	</tr>
	<tr>
		<td align="right">Departemen:</td>
		<td>
			<select name="inp[2]">
			<?php if ($dep_data->num_rows() > 0):?>
			<?php foreach($dep_data->result_array() as $depRow):?>
				<option value="<?php echo $depRow['dep_id']?>" <?php if ($dep_id==$depRow['dep_id']):?>selected="selected"<?php endif?>>
					<?php echo $depRow['dep_nama']?>
				</option>
			<?php endforeach?>
			<?php endif?>
			</select>
		</td>
	</tr>
	<tr>
		<td align="right">Level:</td>
		<td><input type="text" name="inp[3]" maxlength="3" class="validate['required','number']" value="<?php echo $jbt_level?>" style="width: 30px; text-align: right;"></td>
	</tr>
</table>
</div>
<div class="dialog_buttons" style="padding: 12px 10px">
	<input class="button" type="submit" value="Save" />
	<input class="button" type="button" value="Cancel" onclick="FBModal_hide()" />
</div>
</div>
</form>